home *** CD-ROM | disk | FTP | other *** search
- on mouseDown me
- global gOnErrorDo
- set mySprite to the spriteNum of me
- set myMember to the member of sprite mySprite
- if the type of myMember = #bitmap then
- set mySprite to the spriteNum of me
- else
- set mySprite to the spriteNum of me - 1
- end if
- set myBtnUp to the name of member the member of sprite mySprite
- set myLabel to the name of member the member of sprite (mySprite + 1)
- set finalValue to value(the last char in myLabel)
- set myRoll to the rollOver
- repeat while the stillDown
- if the rollOver = myRoll then
- set the member of sprite mySprite to BtnDw(myBtnUp)
- else
- set the member of sprite mySprite to myBtnUp
- end if
- updateStage()
- end repeat
- if the rollOver = myRoll then
- set gOnErrorDo to finalValue
- SetRadiogOnErrorDo()
- else
- set the member of sprite mySprite to myBtnUp
- end if
- updateStage()
- end
-